﻿using System;
using Socium.Domain.Persons;

namespace Socium.Domain.Tests.Sociometric {
	[Serializable]
	public struct Election {
		readonly Person _elector;
		readonly Person _elected;
		readonly ElectionCriteria _election_criteria;
		readonly int _order;

		public Election(Person elector, Person elected, ElectionCriteria election_criteria, int order) {
			_elector = elector;
			_elected = elected;
			_election_criteria = election_criteria;
			_order = order;
		}

		public Person Elector {
			get { return _elector; }
		}

		public Person Elected {
			get { return _elected; }
		}

		public ElectionCriteria ElectionCriteria {
			get { return _election_criteria; }
		}

		public int Order {
			get { return _order; }
		}
	}
}
